
void Delay(unsigned int xms )
{
	unsigned char i, j;
	while (xms--)
	{
	j = 239;
	i = 2;
	do 
	{
		while (--j);
	}while (--i);

	}
}